﻿namespace eAtlantida.Tools.Operations
{
    public class HelpOperation : Operation
    {
        public const string Name = "help";

        public override void Execute(State state)
        {
            WriteMessage(@"------------------------- (c) 2013
clear - clear display;
connection - write current connection string to display;
connect %connectionString% - connect to database;
generate bll %name% [c(reate) | u(pdate) | d(elete) | l(isting) | s(elect)];
generate client %name% [c(reate) | u(pdate) | d(elete) | l(isting)];
generate server %name% [c(reate) | u(pdate) | d(elete) | l(isting)];
generate sql %name% [c(reate) | u(pdate) | d(elete) | s(elect)];
----------------------------------", MessageType.Info);
        }
    }
}
